//
//  Employee.cpp
//  Staff management
//
//  Created by ryu on 2021/8/21.
//

#include "employee.hpp"
#include <string>
using namespace std;
#include <iostream>
Employee::Employee(int id,int dp_id,string name){
    this->id = id;
    this->dp_id = dp_id;
    this->name = name;
};

string Employee::getDeptName(){
    return "完成经理的任务";
};
void Employee::showInfo(){
    cout
    <<"员工ID： "
    <<this->id
    <<",员工部门ID： "
    <<this->dp_id
    <<"员工姓名： "
    <<this->name
    <<this->getDeptName()
    <<endl;
};
